package cn.itcast.bos.service.take_delivery.impl;

import cn.itcast.bos.dao.take_delivery.OrderRepository;
import cn.itcast.bos.domain.take_delivery.Order;
import cn.itcast.bos.service.take_delivery.OrderService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * Created by xbqco on 2018/7/22.
 */
@Service
public class OrderServiceImpl implements OrderService {

    @Autowired
    private OrderRepository orderRepository;
    @Override
    public void save(Order order) {
        orderRepository.save(order);
    }
}
